home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
UTILFILE
/
COPYIT10.LZH
/
COPYIT.DOC
next >
Wrap
Text File
|
1988-10-11
|
21KB
|
733 lines
.
COPYIT
------
Version 1.0
October 12, 1988
File Copy Utility
Contech Systems
P.O. Box 396
Sterling Heights, MI 48311
INTRODUCTION
------------
COPYIT is a file copy utility designed to be much
more complete than the standard DOS COPY command.
Using COPYIT, you can:
* Have COPYIT prompt you before copying each file,
* Have COPYIT check to make sure no files will be
overlaid,
* Spread your copying over multiple target
diskettes; when a diskette is full, COPYIT
will prompt you to insert another, then
continue,
* Move files, saving you from having to delete
what you just copied,
* Copy files bases on date or size criteria,
* Copy files that are read-only, hidden, or system
files,
* Copy files based on the archive bit, and reset
that bit if desired,
* Optimize while copying to diskettes - COPYIT
will attempt to fill the diskettes as
completely as possible, before prompting for
another diskette,
* COPYIT will verify while copying, if specified.
Copyright (c) 1988, Contech Systems
- 2 -
REGISTRATION
------------
COPYIT is distributed and marketed under the
Shareware concept. You may freely distribute copies of
COPYIT, as long as it is in the original, unmodified
form. It may not, however, be bundled with other
software packages without prior written permission from
Contech Systems.
You may freely use COPYIT for a reasonable
evaluation period not to exceed thirty days. If you
find it useful and continue to use it after the
evaluation period, you are required to pay a
registration fee as follows:
A) $ 8.00 Register Only
B) $12.00 Register, and receive next version
Plan A registers your copy, and entitles you to
product support. Under plan B, you will also receive
the newest version of COPYIT as soon as it is
available. To register, simply print and complete the
registration form included with COPYIT (in the file
REGISTER.FRM), enclose check or money orders payable to
Contech Systems, and send to:
Contech Systems
P.O. Box 396
Sterling Heights, MI 48311
ATTN: COPYIT Registration
Contech Systems has an excellent upgrade policy.
Registrations are considered valid for ALL minor
versions within that major version (the major version
number is the number to the left of the decimal - minor
version numbers are to the right). Simply notify us,
and you registration will be changed to the new
version. When the major version number changes, you
may upgrade your registration for a nominal fee.
At any time, you may request the latest version of
COPYIT for $5.00 to cover the cost of the diskette and
postage.
DISCLAIMER
----------
Under no circumstances shall Contech Systems or
its suppliers be liable for any damages whatsoever,
including but not limited to loss of business profits
or information, business interruption, or any other
loss arising out of the use or inability to use this
software product.
- 3 -
COPYIT Operation
----------------
COPYIT is very easy to use. If you are familiar
with the standard DOS COPY command, you can already use
COPYIT in its place for copying. To take advantage of
the special features of COPYIT, it is necessary to
become familiar with various parameters which will be
described later.
COPYIT commands are entered from the DOS prompt,
in the following format:
COPYIT [copyfrompath\mask] [Copytopath\mask]
[/p1../pn]
Copyfrompath\mask is the drive, path, and mask for the
files you want to copy. Copytopath\mask is the drive,
path, and mask you want the files copied to, and
[/p1../pn] are the command parameters, each beginning
with a '/', and separated by a space.
Masks are entered in the identical format that DOS
uses, including wildcards. Specifying a copyto mask
will result in files being renamed as they are copied.
For example, if
COPYIT a:*.* c:?Z*.new
were entered, the result would be that all files in the
current directory on disk A would be copied to the
current directory on drive C, and the files would be
renamed. The new names would be the same as they
originally were, except that the second letter in each
name would become 'Z' and the extensions would become
.NEW . For example, a file named APPLES.BAK would be
renamed AZPLES.NEW. Refer to your DOS manual for more
information on masks and wildcards.
If no copyfrom mask is specified, COPYIT will
target all files in the specified subdirectory. If no
copyto mask is entered, COPYIT assumes you wish to copy
the files to the current drive/directory.
Parameters (discussed below) must be entered after
the above path\mask indicators. Parameters must be
preceded by a slash (/), and each must be separated by
a space.
Copying Many Files
------------------
Many times it is necessary to copy a number of
files from a large subdirectory on a hard disk to
diskettes. Using the standard DOS copy commands, this
is virtually impossible - as soon as the first diskette
is out of space, the copy command aborts. Typing the
- 4 -
individual file names is inconvenient and time
consuming; altering the archive bit is undesirable if
you make backups. COPYIT solves this problem.
Whenever the current diskette is out of space, COPYIT
will prompt you to insert a new one, and press any key
to continue. COPYIT will then pick up where it left
off. This function is always active; you do not need
to specify any parameters to use it. If you do not
have another diskette available, or do not want to
spread the copy between multiple diskettes, you may
press ESC at the prompt for another diskette - this
will halt the copy operation.
Aborting a File Copy
--------------------
Pressing the escape key (ESC) at any time during a
copy operation will halt it. If COPYIT is already
copying a particular file, it does not abort until that
file copy is complete.
Parameters
----------
Parameters are the heart of COPYIT. If you don't
use them, the only thing you gain over the DOS COPY
command is the prompt for inserting another target
diskette if there is not enough space to copy
everything specified.
/p - prompt as to whether a file should be copied.
/h - copy Hidden files.
/s - copy System files.
/r - copy Read-Only files.
/c - check for overlay before copying.
/z - copy based on file size.
/d - copy based on file date.
/a - copy based on file archive bit.
/@ - reset archive bit on files copied.
/v - Verify while copying.
/m - move files.
/o - optimize while copying.
/t - place current date and time on copied files.
/w - wait for keypress between file copies.
You can see this summary at any time by entering COPYIT
with no other parameters from the DOS prompt.
- 5 -
Parameters may be entered in any order, as long as
they follow the copyfrom and copyto (if any)
path/masks. If you make any errors in entering
parameters, COPYIT will respond with messages
describing what is wrong. If COPYIT detects any errors
with input parameters, NO copying will take place.
Parameter Definitions:
----------------------
/P - Prompt :
Format: /p
Use: When this parameter is specified, COPYIT will
prompt you as to whether of not the file should be
copied. You will not be prompted for any files
that fail other selection criteria.
/H - Hidden Files :
Format: /h
Use: Through DOS, a file can be marked as hidden.
Such a file is not shown when a directory command
is given. COPYIT normally ignores such files, but
will include them in the copy operation if this
parameter is specified.
/S - System Files :
Format: /s
Use: System files, much like hidden files, are
normally ignored by COPYIT. Specifying this
parameter will cause COPYIT to process them.
/R - Read-Only Files :
Format: /r
Use: Through use of the DOS ATTRIB command and
other utilities, a file can be marked read-only.
COPYIT will only copy these files if this
parameter is specified.
- 6 -
/C - Check for Overlay :
Format: /c
Use: Normally, COPYIT operates much like the DOS
COPY command when copying a file to a disk or
subdirectory where an identical filename exists;
it overwrites the old file. If you are not sure
what exists in the drive or subdirectory that you
are copying to, or it you just want to know what
is being overlaid, specify this parameter. COPYIT
will then check if a duplicate filename exists
before copying the file. If it does, you will be
prompted as to whether or not the file should be
overlaid.
/Z - Copy based on File Size :
Format: /z:[nnnn][+-]
Use: This parameter allows you to specify copying
based upon file size. The format is as shown,
with [nnnn] equal to the file size to be tested
against (this can be any integer). The file size
is then followed by either a plus (+) telling
COPYIT to copy all files equal to or greater than
the file size specified, or a minus (-), telling
COPYIT to copy all files equal to or less than the
filesize specified. For example:
/z:22000+
would cause all files equal to or greater than
22000 bytes to be copied, while
/z:1000000-
specifies that only files equal to or less than
1,000,000 bytes are to be copied.
- 7 -
/D - Copy based on File Date :
Format: /d:[date][+-]
Use: This parameter causes COPYIT to select files
for copying based upon the date the file was
created or last modified. After the '/d:' the
date you wish to test against should be entered.
Immediately after the date, either a plus (+),
indicating all files with dates equal to or later
than the test date, or a minus (-), indicating all
files with dates equal to or before the test date,
must be entered.
The date may be entered with or without
leading zeros. Slashes, or any other non-numeric,
non-space character my be substituted for dashes
in the date. For example, to copy all files on or
after August 9, 1988, all of the following are
valid:
/d:08-09-88+
/d:8/9/88+
/d:08/9-88+
Similarly, to copy all files created/modified on
or after November 1, 1988, enter:
/d:11.1.88-
or /d:11-01-88-
/A - Copy Based on Archive Bit :
Format: /a[+-]
Use: Whenever a file is created or modified, DOS
turns on what is called the archive bit. Backup
programs normally reset this bit so that it is
easy to determine what files have changed since
the last backup. COPYIT normally ignores the
archive bit, copying the file regardless of its
setting. With the /a parameter, however, you can
perform copies based on the archive bit.
Specifying a plus (+) sign after the parameter
tells COPYIT to only copy files that have the
archive bit set (or turned on, indicating the file
has been created or modified). Specifying a minus
(-) does the opposite; COPYIT will only copy files
that have an archive bit that is off.
- 8 -
/@ - Reset Archive Bit :
Format: /@
Use: As described under the /a (copy based on
archive bit) parameter, the archive bit indicates
whether a file has been created/modified since the
last backup. If you want COPYIT to reset the
archive bit on each file it copies, the /@
parameter is used.
WARNING: Most backup utilities perform
incremental backups based upon the settings of the
archive bit. If the archive bit has been reset
through the use of COPYIT (or any other utility),
your incremental backups may not contain all of
the files that have been modified/created since
your last backup.
/V - Verify During Copy :
Format: /v
Use: Specifying this parameter causes COPYIT to
verify each write to the disk. This is a time
consuming process - expect COPYIT to take twice as
long when /v is used.
/M - Move Files :
Format: /m
Use: This parameter causes the files to be moved.
If moving from one disk to another, the file is
first copied, then the original is deleted. If
the file is being moved between subdirectories on
the same disk, it is simply renamed.
/O - Optimize During Copy :
Format: /o
Use: Normally, COPYIT copies files in the order
they occur in the directory. This can be
wasteful, especially if multiple target diskettes
are needed to copy all of the files specified.
For example, if the directory listed three files
of sizes 75000, 10000, and 18000, COPYIT (and DOS)
would normally copy them in that order. You may
have already copied many files to a diskette, and
only have 45000 bytes free. If you tried to copy
the above files to the diskette, COPYIT would
immediately realize the first file is too big for
the remaining space and would prompt you for
another diskette. If /o is specific, however,
COPYIT would fit as many files on the diskette as
possible before prompting for another diskette.
- 9 -
Thus, the 18000 byte file would be copied, then
the 10000 byte file. Since no more of the
remaining files (the 75000 byte one) will fit on
the diskette, you would then be prompted to insert
another.
This parameter is only of real use when
copying to multiple diskettes. If copying to a
hard drive subdirectory, or if all of the files
copied fit onto one diskette, the only effect is
that all files will be copied in descending order
by size.
/T - Time Stamp Copied Files :
Format: /t
Use: When COPYIT copies files it normally does
not change the time/date stamp on the copies. If
the /t parameter is used, the current system data
and time will placed in the directory entry for
the file. The original files' time and date are
never changed.
/W - Wait Between File Copies :
Format: /w
Use: Specifying this parameter cause COPYIT to
wait for a keypress between each file copied.
- 10 -
EXAMPLES:
copyit a:*.*
Copies all files in the current directory of drive
A: to the current directory in which the command
was issued.
copyit *.* \data /c /p
Copies all files in the current subdirectory to
subdirectory \DATA, prompting for each file copy,
and warning if any files in \DATA will be
overlaid.
copyit ABC.TXT HELLO.TXT /m
Since no copyfrom or copyto paths are specified,
and move (/m) is indicated, the file ABC.TXT is
simply renamed to HELLO.TXT.
copyit \data\*.bak d:\olddata\*.old /c /m /d:11-1-88 /v
Moves all files with extensions of .BAK from
directory \DATA to drive D:, subdirectory
\OLDDATA. The files' extensions are renamed to
.OLD, and a warning is issued if any similarly
named files exist in \OLDDATA. Only files created
or last modified on or after November 1, 1988 are
moved. Lastly, each file copy is verified.
- 11 -